<template>
  <div>
    <!-- <NavBar /> -->
    <div class="view_box">
      <router-view />
    </div>

    <HYFoot />
  </div>
</template>
<script lang="ts">
import { defineComponent, reactive, toRefs } from "vue";
// import NavBar from "@/components/HomeNavBar.vue";
import { onBeforeRouteUpdate } from "vue-router";
import HYFoot from "@/components/HYFoot.vue";
export default defineComponent({
  name: "App",
  components: {
    // NavBar,
    HYFoot,
  },
  setup() {
    const state = reactive({});
    return { ...toRefs(state) };
  },
});
</script>
<style lang="scss">
.view_box {
  min-height: calc(100vh - 269px);
}
html {
  height: 100%;
  background-color: #f7f8fa;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
}
</style>
